import { GithubOutlined, GitlabOutlined } from '@ant-design/icons';
import { DefaultFooter } from '@ant-design/pro-layout';

export default () => {
  const currentYear = new Date().getFullYear();

  return (
    <DefaultFooter
      copyright={`${currentYear} 管理系统演示 by 李纪`}
      links={[
        {
          key: 'github',
          title: <GithubOutlined />,
          href: 'https://github.com/2291896153/react-admin-pro',
          blankTarget: true,
        },
        {
          key: 'gitee',
          title: <GitlabOutlined />,
          href: 'https://gitee.com/li_ji_developer/react_admin_pro',
          blankTarget: true,
        },
      ]}
    />
  );
};
